Change in openvpn[master]: GHA: Add OpenSSL 4.0 build
A message that is not in the archive (sent off-list or not yet received): gerrit.1774997396000.Ic9c993cb8dcfedfd6f99f416c286e0968eb45255@...2715...
plaisthos has uploaded this change for review. ( http://gerrit.openvpn.net/c/openvpn/+/1601?usp=email )
Change subject: GHA: Add OpenSSL 4.0 build
......................................................................
GHA: Add OpenSSL 4.0 build
---
M .github/workflows/build.yaml
1 file changed, 82 insertions(+), 0 deletions(-)
git pull ssh://gerrit.openvpn.net:29418/openvpn refs/changes/01/1601/1
.github/workflows/build.yaml +82 -0
@@ -390,6 +390,88 @@ - name: make check run: make -j3 check VERBOSE=1 + openssl: + strategy: + fail-fast: false + matrix: + os: [ubuntu-24.04] + ssllib: [openssl] + build: [ normal, asan ] + configureflags: ["--with-openssl-engine=no"] + include: + - build: asan + cflags: "-fsanitize=address -fno-sanitize-recover=all -fno-optimize-sibling-calls -fsanitize-address-use-after-scope -fno-omit-frame-pointer -g -O1" + ldflags: -fsanitize=address -fno-sanitize-recover=all + cc: clang + - build: normal + cflags: "-O2 -g" + ldflags: "" + cc: gcc + + name: "${{matrix.cc}} ${{matrix.build}} - ${{matrix.os}} - ${{matrix.ssllib}} - 4.0" + runs-on: ${{matrix.os}} + env: + CFLAGS: ${{ matrix.cflags }} + LDFLAGS: ${{ matrix.ldflags }} + CC: ${{matrix.cc}} + UBSAN_OPTIONS: print_stacktrace=1 + # versioning=semver-coerced + OPENSSL_REPO: openssl/openssl + OPENSSL_VERSION: openssl-4.0.0-beta1 + OPENSSL_INSTALL: /opt/openssl + + steps: + - name: Install dependencies + run: sudo apt update && sudo apt install -y liblzo2-dev libpam0g-dev liblz4-dev linux-libc-dev man2html clang libcmocka-dev python3-docutils libtool automake autoconf pkg-config libcap-ng-dev libnl-genl-3-dev + - name: Restore OpenSSL 4.0 from cache + uses: actions/[email protected]... + id: openssl-cache + with: + path: ${{ env.OPENSSL_INSTALL }} + key: ${{ matrix.os }}-openssl-${{matrix.build }}-${{ env.OPENSSL_VERSION }} + - name: "openssl: checkout" + if: steps.openssl-cache.outputs.cache-hit != 'true' + uses: actions/[email protected]... # v6.0.2 + with: + path: openssl + repository: ${{ env.OPENSSL_REPO }} + ref: ${{ env.OPENSSL_VERSION }} + - name: "openssl: configure" + if: steps.openssl-cache.outputs.cache-hit != 'true' + run: ./Configure --prefix=${{ env.OPENSSL_INSTALL }} --libdir=${{ env.OPENSSL_INSTALL }}/lib --openssldir=${{ env.OPENSSL_INSTALL }} -g + working-directory: openssl + - name: "openssl: make all" + if: steps.openssl-cache.outputs.cache-hit != 'true' + run: make -j3 + working-directory: openssl + - name: "openssl: make install" + if: steps.openssl-cache.outputs.cache-hit != 'true' + run: sudo make install + working-directory: openssl + - name: "ldconfig" + run: sudo ldconfig + - name: Checkout OpenVPN + uses: actions/[email protected]... # v6.0.2 + - name: autoconf + run: autoreconf -fvi + - name: configure + run: | + OPENSSL_CFLAGS="-I${{ env.OPENSSL_INSTALL }}/include" \ + OPENSSL_LIBS="-L${{ env.OPENSSL_INSTALL }}/lib -lssl -lcrypto" \ + LDFLAGS="-Wl,-rpath=${{ env.OPENSSL_INSTALL }}/lib" \ + ./configure --with-crypto-library=openssl --enable-werror ${{matrix.configureflags}} + - name: make all + run: make -j3 + - name: Ensure the build uses Openssl + run: | + ./src/openvpn/openvpn --version + ./src/openvpn/openvpn --version | grep -q "library versions: OpenSSL 4.0" + - name: configure checks + run: echo 'RUN_SUDO="sudo -E"' >tests/t_server_null.rc + - name: make check + run: make -j3 check VERBOSE=1 + + mbedtls4: strategy: fail-fast: false
--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/1601?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings?usp=email
Gerrit-MessageType: newchange
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: Ic9c993cb8dcfedfd6f99f416c286e0968eb45255
Gerrit-Change-Number: 1601
Gerrit-PatchSet: 1
Gerrit-Owner: plaisthos <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>
plaisthos has posted comments on this change by plaisthos. ( http://gerrit.openvpn.net/c/openvpn/+/1601?usp=email )
Change subject: GHA: Add OpenSSL 4.0 build
......................................................................
Patch Set 1:
(1 comment)
Patchset:
PS1:
GHA run: https://github.com/schwabe/openvpn/actions/runs/23822762834
--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/1601?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: Ic9c993cb8dcfedfd6f99f416c286e0968eb45255
Gerrit-Change-Number: 1601
Gerrit-PatchSet: 1
Gerrit-Owner: plaisthos <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-Comment-Date: Tue, 31 Mar 2026 23:00:19 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
plaisthos has uploaded a new patch set (#2). ( http://gerrit.openvpn.net/c/openvpn/+/1601?usp=email )
Change subject: GHA: Add OpenSSL 4.0 build
......................................................................
GHA: Add OpenSSL 4.0 build
---
M .github/workflows/build.yaml
1 file changed, 81 insertions(+), 0 deletions(-)
git pull ssh://gerrit.openvpn.net:29418/openvpn refs/changes/01/1601/2
.github/workflows/build.yaml +81 -0
@@ -390,6 +390,87 @@ - name: make check run: make -j3 check VERBOSE=1 + openssl: + strategy: + fail-fast: false + matrix: + os: [ubuntu-24.04] + ssllib: [openssl] + build: [ normal, asan ] + configureflags: ["--with-openssl-engine=no"] + include: + - build: asan + cflags: "-fsanitize=address -fno-sanitize-recover=all -fno-optimize-sibling-calls -fsanitize-address-use-after-scope -fno-omit-frame-pointer -g -O1" + ldflags: -fsanitize=address -fno-sanitize-recover=all + cc: clang + - build: normal + cflags: "-O2 -g" + ldflags: "" + cc: gcc + + name: "${{matrix.cc}} ${{matrix.build}} - ${{matrix.os}} - ${{matrix.ssllib}} - 4.0" + runs-on: ${{matrix.os}} + env: + CFLAGS: ${{ matrix.cflags }} + LDFLAGS: ${{ matrix.ldflags }} + CC: ${{matrix.cc}} + UBSAN_OPTIONS: print_stacktrace=1 + # versioning=semver-coerced + OPENSSL_REPO: openssl/openssl + OPENSSL_VERSION: openssl-4.0.0-beta1 + OPENSSL_INSTALL: /opt/openssl + + steps: + - name: Install dependencies + run: sudo apt update && sudo apt install -y liblzo2-dev libpam0g-dev liblz4-dev linux-libc-dev man2html clang libcmocka-dev python3-docutils libtool automake autoconf pkg-config libcap-ng-dev libnl-genl-3-dev + - name: Restore OpenSSL 4.0 from cache + uses: actions/[email protected]... + id: openssl-cache + with: + path: ${{ env.OPENSSL_INSTALL }} + key: ${{ matrix.os }}-openssl-${{matrix.build }}-${{ env.OPENSSL_VERSION }} + - name: "openssl: checkout" + if: steps.openssl-cache.outputs.cache-hit != 'true' + uses: actions/[email protected]... # v6.0.2 + with: + path: openssl + repository: ${{ env.OPENSSL_REPO }} + ref: ${{ env.OPENSSL_VERSION }} + - name: "openssl: configure" + if: steps.openssl-cache.outputs.cache-hit != 'true' + run: ./Configure --prefix=${{ env.OPENSSL_INSTALL }} --libdir=${{ env.OPENSSL_INSTALL }}/lib --openssldir=${{ env.OPENSSL_INSTALL }} -g + working-directory: openssl + - name: "openssl: make all" + if: steps.openssl-cache.outputs.cache-hit != 'true' + run: make -j3 + working-directory: openssl + - name: "openssl: make install" + if: steps.openssl-cache.outputs.cache-hit != 'true' + run: sudo make install + working-directory: openssl + - name: "ldconfig" + run: sudo ldconfig + - name: Checkout OpenVPN + uses: actions/[email protected]... # v6.0.2 + - name: autoconf + run: autoreconf -fvi + - name: configure + run: | + OPENSSL_CFLAGS="-I${{ env.OPENSSL_INSTALL }}/include" \ + OPENSSL_LIBS="-L${{ env.OPENSSL_INSTALL }}/lib -lssl -lcrypto" \ + LDFLAGS="-Wl,-rpath=${{ env.OPENSSL_INSTALL }}/lib" \ + ./configure --with-crypto-library=openssl --enable-werror ${{matrix.configureflags}} + - name: make all + run: make -j3 + - name: Ensure the build uses Openssl + run: | + ./src/openvpn/openvpn --version + ./src/openvpn/openvpn --version | grep -q "library versions: OpenSSL 4.0" + - name: configure checks + run: echo 'RUN_SUDO="sudo -E"' >tests/t_server_null.rc + - name: make check + run: make -j3 check VERBOSE=1 + mbedtls4: strategy: fail-fast: false
--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/1601?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings?usp=email
Gerrit-MessageType: newpatchset
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: Ic9c993cb8dcfedfd6f99f416c286e0968eb45255
Gerrit-Change-Number: 1601
Gerrit-PatchSet: 2
Gerrit-Owner: plaisthos <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>
Attention is currently required from: plaisthos.
flichtenheld has posted comments on this change by plaisthos. ( http://gerrit.openvpn.net/c/openvpn/+/1601?usp=email )
Change subject: GHA: Add OpenSSL 4.0 build
......................................................................
Patch Set 3: Code-Review+2
--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/1601?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: Ic9c993cb8dcfedfd6f99f416c286e0968eb45255
Gerrit-Change-Number: 1601
Gerrit-PatchSet: 3
Gerrit-Owner: plaisthos <[email protected]...>
Gerrit-Reviewer: flichtenheld <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-Attention: plaisthos <[email protected]...>
Gerrit-Comment-Date: Fri, 17 Apr 2026 10:59:02 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
PATCH v3 1/1 GHA: Add OpenSSL 4.0 build
In reply to a message not in the archiveFrom: Arne Schwabe <[email protected]...>
Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1601
---
This change was reviewed on Gerrit and approved by at least one developer. I request to merge it to master.
Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1601
This mail reflects revision 3 of this Change.
Acked-by according to Gerrit (reflected above):
Frank Lichtenheld <[email protected]...>
.github/workflows/build.yaml +81 -0
@@ -390,6 +390,87 @@ - name: make check run: make -j3 check VERBOSE=1 + openssl: + strategy: + fail-fast: false + matrix: + os: [ubuntu-24.04] + ssllib: [openssl] + build: [ normal, asan ] + configureflags: ["--with-openssl-engine=no"] + include: + - build: asan + cflags: "-fsanitize=address -fno-sanitize-recover=all -fno-optimize-sibling-calls -fsanitize-address-use-after-scope -fno-omit-frame-pointer -g -O1" + ldflags: -fsanitize=address -fno-sanitize-recover=all + cc: clang + - build: normal + cflags: "-O2 -g" + ldflags: "" + cc: gcc + + name: "${{matrix.cc}} ${{matrix.build}} - ${{matrix.os}} - ${{matrix.ssllib}} - 4.0" + runs-on: ${{matrix.os}} + env: + CFLAGS: ${{ matrix.cflags }} + LDFLAGS: ${{ matrix.ldflags }} + CC: ${{matrix.cc}} + UBSAN_OPTIONS: print_stacktrace=1 + # versioning=semver-coerced + OPENSSL_REPO: openssl/openssl + OPENSSL_VERSION: openssl-4.0.0-beta1 + OPENSSL_INSTALL: /opt/openssl + + steps: + - name: Install dependencies + run: sudo apt update && sudo apt install -y liblzo2-dev libpam0g-dev liblz4-dev linux-libc-dev man2html clang libcmocka-dev python3-docutils libtool automake autoconf pkg-config libcap-ng-dev libnl-genl-3-dev + - name: Restore OpenSSL 4.0 from cache + uses: actions/[email protected]... + id: openssl-cache + with: + path: ${{ env.OPENSSL_INSTALL }} + key: ${{ matrix.os }}-openssl-${{matrix.build }}-${{ env.OPENSSL_VERSION }} + - name: "openssl: checkout" + if: steps.openssl-cache.outputs.cache-hit != 'true' + uses: actions/[email protected]... # v6.0.2 + with: + path: openssl + repository: ${{ env.OPENSSL_REPO }} + ref: ${{ env.OPENSSL_VERSION }} + - name: "openssl: configure" + if: steps.openssl-cache.outputs.cache-hit != 'true' + run: ./Configure --prefix=${{ env.OPENSSL_INSTALL }} --libdir=${{ env.OPENSSL_INSTALL }}/lib --openssldir=${{ env.OPENSSL_INSTALL }} -g + working-directory: openssl + - name: "openssl: make all" + if: steps.openssl-cache.outputs.cache-hit != 'true' + run: make -j3 + working-directory: openssl + - name: "openssl: make install" + if: steps.openssl-cache.outputs.cache-hit != 'true' + run: sudo make install + working-directory: openssl + - name: "ldconfig" + run: sudo ldconfig + - name: Checkout OpenVPN + uses: actions/[email protected]... # v6.0.2 + - name: autoconf + run: autoreconf -fvi + - name: configure + run: | + OPENSSL_CFLAGS="-I${{ env.OPENSSL_INSTALL }}/include" \ + OPENSSL_LIBS="-L${{ env.OPENSSL_INSTALL }}/lib -lssl -lcrypto" \ + LDFLAGS="-Wl,-rpath=${{ env.OPENSSL_INSTALL }}/lib" \ + ./configure --with-crypto-library=openssl --enable-werror ${{matrix.configureflags}} + - name: make all + run: make -j3 + - name: Ensure the build uses Openssl + run: | + ./src/openvpn/openvpn --version + ./src/openvpn/openvpn --version | grep -q "library versions: OpenSSL 4.0" + - name: configure checks + run: echo 'RUN_SUDO="sudo -E"' >tests/t_server_null.rc + - name: make check + run: make -j3 check VERBOSE=1 + mbedtls4: strategy: fail-fast: false
[Openvpn-devel] [PATCH applied] Re: GHA: Add OpenSSL 4.0 build
If we claim OpenSSL 4.0 support, we must CI test it... here we go :-)
Tested in my private GH repo.
Your patch has been applied to the master branch.
commit 36174520e9e98eb2298ed29b71d0b8d00544e24e (master) commit e57d16c82072282f2e584e6ba3b272a3007ec9a7 (release/2.7)
Author: Arne Schwabe Date: Fri Apr 17 13:09:36 2026 +0200
GHA: Add OpenSSL 4.0 build
Signed-off-by: Arne Schwabe <[email protected]...>
Acked-by: Frank Lichtenheld <[email protected]...>
Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1601
Message-Id: <[email protected]...>
URL: https://www.mail-archive.com/[email protected]/msg36648.html
Signed-off-by: Gert Doering <[email protected]...>--
kind regards,
Gert Doering
cron2 has uploaded a new patch set (#4) to the change originally created by plaisthos. ( http://gerrit.openvpn.net/c/openvpn/+/1601?usp=email )
The following approvals got outdated and were removed:
Code-Review+2 by flichtenheld
Change subject: GHA: Add OpenSSL 4.0 build
......................................................................
GHA: Add OpenSSL 4.0 build
Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1601
Message-Id: <[email protected]...>
URL: https://www.mail-archive.com/[email protected]/msg36648.html
---
M .github/workflows/build.yaml
1 file changed, 81 insertions(+), 0 deletions(-)
git pull ssh://gerrit.openvpn.net:29418/openvpn refs/changes/01/1601/4
.github/workflows/build.yaml +81 -0
@@ -390,6 +390,87 @@ - name: make check run: make -j3 check VERBOSE=1 + openssl: + strategy: + fail-fast: false + matrix: + os: [ubuntu-24.04] + ssllib: [openssl] + build: [ normal, asan ] + configureflags: ["--with-openssl-engine=no"] + include: + - build: asan + cflags: "-fsanitize=address -fno-sanitize-recover=all -fno-optimize-sibling-calls -fsanitize-address-use-after-scope -fno-omit-frame-pointer -g -O1" + ldflags: -fsanitize=address -fno-sanitize-recover=all + cc: clang + - build: normal + cflags: "-O2 -g" + ldflags: "" + cc: gcc + + name: "${{matrix.cc}} ${{matrix.build}} - ${{matrix.os}} - ${{matrix.ssllib}} - 4.0" + runs-on: ${{matrix.os}} + env: + CFLAGS: ${{ matrix.cflags }} + LDFLAGS: ${{ matrix.ldflags }} + CC: ${{matrix.cc}} + UBSAN_OPTIONS: print_stacktrace=1 + # versioning=semver-coerced + OPENSSL_REPO: openssl/openssl + OPENSSL_VERSION: openssl-4.0.0-beta1 + OPENSSL_INSTALL: /opt/openssl + + steps: + - name: Install dependencies + run: sudo apt update && sudo apt install -y liblzo2-dev libpam0g-dev liblz4-dev linux-libc-dev man2html clang libcmocka-dev python3-docutils libtool automake autoconf pkg-config libcap-ng-dev libnl-genl-3-dev + - name: Restore OpenSSL 4.0 from cache + uses: actions/[email protected]... + id: openssl-cache + with: + path: ${{ env.OPENSSL_INSTALL }} + key: ${{ matrix.os }}-openssl-${{matrix.build }}-${{ env.OPENSSL_VERSION }} + - name: "openssl: checkout" + if: steps.openssl-cache.outputs.cache-hit != 'true' + uses: actions/[email protected]... # v6.0.2 + with: + path: openssl + repository: ${{ env.OPENSSL_REPO }} + ref: ${{ env.OPENSSL_VERSION }} + - name: "openssl: configure" + if: steps.openssl-cache.outputs.cache-hit != 'true' + run: ./Configure --prefix=${{ env.OPENSSL_INSTALL }} --libdir=${{ env.OPENSSL_INSTALL }}/lib --openssldir=${{ env.OPENSSL_INSTALL }} -g + working-directory: openssl + - name: "openssl: make all" + if: steps.openssl-cache.outputs.cache-hit != 'true' + run: make -j3 + working-directory: openssl + - name: "openssl: make install" + if: steps.openssl-cache.outputs.cache-hit != 'true' + run: sudo make install + working-directory: openssl + - name: "ldconfig" + run: sudo ldconfig + - name: Checkout OpenVPN + uses: actions/[email protected]... # v6.0.2 + - name: autoconf + run: autoreconf -fvi + - name: configure + run: | + OPENSSL_CFLAGS="-I${{ env.OPENSSL_INSTALL }}/include" \ + OPENSSL_LIBS="-L${{ env.OPENSSL_INSTALL }}/lib -lssl -lcrypto" \ + LDFLAGS="-Wl,-rpath=${{ env.OPENSSL_INSTALL }}/lib" \ + ./configure --with-crypto-library=openssl --enable-werror ${{matrix.configureflags}} + - name: make all + run: make -j3 + - name: Ensure the build uses Openssl + run: | + ./src/openvpn/openvpn --version + ./src/openvpn/openvpn --version | grep -q "library versions: OpenSSL 4.0" + - name: configure checks + run: echo 'RUN_SUDO="sudo -E"' >tests/t_server_null.rc + - name: make check + run: make -j3 check VERBOSE=1 + mbedtls4: strategy: fail-fast: false
--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/1601?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings?usp=email
Gerrit-MessageType: newpatchset
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: Ic9c993cb8dcfedfd6f99f416c286e0968eb45255
Gerrit-Change-Number: 1601
Gerrit-PatchSet: 4
Gerrit-Owner: plaisthos <[email protected]...>
Gerrit-Reviewer: flichtenheld <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>
cron2 has submitted this change. ( http://gerrit.openvpn.net/c/openvpn/+/1601?usp=email )
Change subject: GHA: Add OpenSSL 4.0 build
......................................................................
GHA: Add OpenSSL 4.0 build
Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1601
Message-Id: <[email protected]...>
URL: https://www.mail-archive.com/[email protected]/msg36648.html
---
M .github/workflows/build.yaml
1 file changed, 81 insertions(+), 0 deletions(-)
.github/workflows/build.yaml +81 -0
@@ -390,6 +390,87 @@ - name: make check run: make -j3 check VERBOSE=1 + openssl: + strategy: + fail-fast: false + matrix: + os: [ubuntu-24.04] + ssllib: [openssl] + build: [ normal, asan ] + configureflags: ["--with-openssl-engine=no"] + include: + - build: asan + cflags: "-fsanitize=address -fno-sanitize-recover=all -fno-optimize-sibling-calls -fsanitize-address-use-after-scope -fno-omit-frame-pointer -g -O1" + ldflags: -fsanitize=address -fno-sanitize-recover=all + cc: clang + - build: normal + cflags: "-O2 -g" + ldflags: "" + cc: gcc + + name: "${{matrix.cc}} ${{matrix.build}} - ${{matrix.os}} - ${{matrix.ssllib}} - 4.0" + runs-on: ${{matrix.os}} + env: + CFLAGS: ${{ matrix.cflags }} + LDFLAGS: ${{ matrix.ldflags }} + CC: ${{matrix.cc}} + UBSAN_OPTIONS: print_stacktrace=1 + # versioning=semver-coerced + OPENSSL_REPO: openssl/openssl + OPENSSL_VERSION: openssl-4.0.0-beta1 + OPENSSL_INSTALL: /opt/openssl + + steps: + - name: Install dependencies + run: sudo apt update && sudo apt install -y liblzo2-dev libpam0g-dev liblz4-dev linux-libc-dev man2html clang libcmocka-dev python3-docutils libtool automake autoconf pkg-config libcap-ng-dev libnl-genl-3-dev + - name: Restore OpenSSL 4.0 from cache + uses: actions/[email protected]... + id: openssl-cache + with: + path: ${{ env.OPENSSL_INSTALL }} + key: ${{ matrix.os }}-openssl-${{matrix.build }}-${{ env.OPENSSL_VERSION }} + - name: "openssl: checkout" + if: steps.openssl-cache.outputs.cache-hit != 'true' + uses: actions/[email protected]... # v6.0.2 + with: + path: openssl + repository: ${{ env.OPENSSL_REPO }} + ref: ${{ env.OPENSSL_VERSION }} + - name: "openssl: configure" + if: steps.openssl-cache.outputs.cache-hit != 'true' + run: ./Configure --prefix=${{ env.OPENSSL_INSTALL }} --libdir=${{ env.OPENSSL_INSTALL }}/lib --openssldir=${{ env.OPENSSL_INSTALL }} -g + working-directory: openssl + - name: "openssl: make all" + if: steps.openssl-cache.outputs.cache-hit != 'true' + run: make -j3 + working-directory: openssl + - name: "openssl: make install" + if: steps.openssl-cache.outputs.cache-hit != 'true' + run: sudo make install + working-directory: openssl + - name: "ldconfig" + run: sudo ldconfig + - name: Checkout OpenVPN + uses: actions/[email protected]... # v6.0.2 + - name: autoconf + run: autoreconf -fvi + - name: configure + run: | + OPENSSL_CFLAGS="-I${{ env.OPENSSL_INSTALL }}/include" \ + OPENSSL_LIBS="-L${{ env.OPENSSL_INSTALL }}/lib -lssl -lcrypto" \ + LDFLAGS="-Wl,-rpath=${{ env.OPENSSL_INSTALL }}/lib" \ + ./configure --with-crypto-library=openssl --enable-werror ${{matrix.configureflags}} + - name: make all + run: make -j3 + - name: Ensure the build uses Openssl + run: | + ./src/openvpn/openvpn --version + ./src/openvpn/openvpn --version | grep -q "library versions: OpenSSL 4.0" + - name: configure checks + run: echo 'RUN_SUDO="sudo -E"' >tests/t_server_null.rc + - name: make check + run: make -j3 check VERBOSE=1 + mbedtls4: strategy: fail-fast: false
--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/1601?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings?usp=email
Gerrit-MessageType: merged
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: Ic9c993cb8dcfedfd6f99f416c286e0968eb45255
Gerrit-Change-Number: 1601
Gerrit-PatchSet: 4
Gerrit-Owner: plaisthos <[email protected]...>
Gerrit-Reviewer: flichtenheld <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>